/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;
import transfer.Comment;
import transfer.Order;

/**
 *
 * @author Анна
 */
public interface CommentsLocalHome extends EJBLocalHome {   
    public Collection findAllCommentsForOrder(Order order) throws FinderException;
    CommentsLocal create(Comment comment) throws CreateException;
    public CommentsLocal findByPrimaryKey(Integer idComment) throws FinderException;
}
